package com.youpingou.client;

import com.youpingou.vo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @auther Created by yuanxinqi
 */
@FeignClient("cart-service")
public interface CartClient {

    @GetMapping("/addLoginCart")
    public BaseResult addLoginCart(@RequestParam("userId") Integer userId, @RequestParam("carts") String carts);

}
